Utils
object Utils
Provides utilities for creating and caching translation results
Author
fzzyhmstrs
Since
0.6.8
Properties
Functions
Link copied to clipboard
Caches the provided result and passes it through.
Link copied to clipboard
Creates a Full without caching it.
Link copied to clipboard
fun createScopedResult(scope: String, name: Text, desc: Text? = null, prefix: Text? = null): Translatable.Result
Creates a Full, caches it, and passes the newly created result through.
Link copied to clipboard
Retrieves a cached result, if any exists. If the cache has been invalidated this will return null